import useScript from "../../lifecycle/useScript";
import HtmlEditor from "./HtmlEditor";

export default function (props) {
  const status = useScript("/frontend/build/ueditor/ueditor.all.min.js");
  if (status === "ready") {
    return <HtmlEditor {...props}></HtmlEditor>;
  }
  return null;
}
